package com.ruan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.ruan.dao")
@EnableFeignClients(basePackages = {"com.ruan.openfeign"})
@EnableTransactionManagement
public class OrdersCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrdersCenterApplication.class, args);
    }

}
